<script setup>
import HelloWorld from "./components/HelloWorld.vue";
</script>

<template>
  <div>
    <h1>这是App 根组件</h1>
    <h1 class="red">掌握导航守卫的使用方法，能够实现路由访问权限的控制</h1>
    <h1>例子：默认去首页，没登录跳转到登录页</h1>
    <hr />
    <hello-world></hello-world>
  </div>
</template>

<style scoped>
.red {
  color: red;
}
</style>
